﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// ContractList:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("ContractList")]
	public partial class ContractListInfo
	{
		public ContractListInfo()
		{}
		#region Model
		private int _id;
		private int? _contractid;
		private string _contractstate;
		private string _contractsubject;
		private DateTime? _starttime;
		private DateTime? _finishedtime;
		private decimal? _contractamount;
		private decimal? _contracteffectiveamount;
		private string _payway;
		private bool? _isoutsourcing= false;
		private string _supervisorname;
		private string _supervisortel;
		private string _leadername;
		private string _leadertel;
		private DateTime _createtime= DateTime.Now;
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ContractId")]
		public int? ContractId
		{
			set{ _contractid=value;}
			get{return _contractid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ContractState")]
		public string ContractState
		{
			set{ _contractstate=value;}
			get{return _contractstate;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ContractSubject")]
		public string ContractSubject
		{
			set{ _contractsubject=value;}
			get{return _contractsubject;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("StartTime")]
		public DateTime? StartTime
		{
			set{ _starttime=value;}
			get{return _starttime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("FinishedTime")]
		public DateTime? FinishedTime
		{
			set{ _finishedtime=value;}
			get{return _finishedtime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ContractAmount")]
		public decimal? ContractAmount
		{
			set{ _contractamount=value;}
			get{return _contractamount;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ContractEffectiveAmount")]
		public decimal? ContractEffectiveAmount
		{
			set{ _contracteffectiveamount=value;}
			get{return _contracteffectiveamount;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PayWay")]
		public string PayWay
		{
			set{ _payway=value;}
			get{return _payway;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ISOutsourcing")]
		public bool? ISOutsourcing
		{
			set{ _isoutsourcing=value;}
			get{return _isoutsourcing;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SupervisorName")]
		public string SupervisorName
		{
			set{ _supervisorname=value;}
			get{return _supervisorname;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SupervisorTel")]
		public string SupervisorTel
		{
			set{ _supervisortel=value;}
			get{return _supervisortel;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("LeaderName")]
		public string LeaderName
		{
			set{ _leadername=value;}
			get{return _leadername;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("LeaderTel")]
		public string LeaderTel
		{
			set{ _leadertel=value;}
			get{return _leadertel;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CreateTime")]
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		#endregion Model

	}
}

